package com.coda.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WordDTO implements Serializable {
    //单词
    private String word;
    //开始时间，结束时间
    private String beginTime;
    private String endTime;

    //是否收藏
    private String isCollect;

    //页码每页显示的记录数
    @Builder.Default
    private Integer page = 1;
    @Builder.Default
    private Integer pageSize = 10;

}
